Skip to content

fix(web): remove message center entry points - #6347

Closed
lefarcen wants to merge 1 commit into
feat/workspace-teamfrom
fix/remove-web-message-center-20260803
Closed

fix(web): remove message center entry points#6347
lefarcen wants to merge 1 commit into
feat/workspace-teamfrom
fix/remove-web-message-center-20260803

Conversation

@lefarcen

@lefarcen lefarcen commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Why

Product has explicitly decided that the web client should not expose a notification or message-center entry yet. The current workspace shell still showed one in the signed-in account menu and another in the signed-out navigation rail, so users could open an unsupported surface and the rail kept polling message-center data solely for those entry points.

This PR removes that premature web-shell exposure while preserving the standalone message-center implementation, its client/data contracts, notification settings, and daemon capabilities for future product work.

What users will see

Signed-in users no longer see “Message center” in the account menu. Signed-out users no longer see a message-center item below Settings. The rest of the account menu, signed-out Settings entry, task notification settings, and system notification behavior are unchanged.

Surface area

  • UI — removes the message-center menu and rail entries from apps/web
  • Keyboard shortcut — new or changed
  • CLI / env var — new od subcommand or flag, new tools-dev / tools-pack flag, or new OD_* env var
  • API / contract — new /api/* endpoint, new SSE event, or changed shape in packages/contracts
  • Extension point — new entry under skills/, design-systems/, design-templates/, or craft/, or change to the skills protocol
  • i18n keys — added new translation keys
  • New top-level dependency — adding any new entry to the root package.json
  • Default behavior change — existing users no longer see these web entry points
  • None — internal refactor, docs, tests, or translation update only

Screenshots

The changed UI is the absence of two controls. The focused DOM regression test covers both signed-in and signed-out shell branches and is more precise than an empty-space screenshot; no other visual layout is changed.

Bug fix verification

  • Test path that reproduces the bug: apps/web/tests/components/EntryNavRail.message-center-entry.test.tsx
  • Red on origin/feat/workspace-team@4a4dfadd: yes, both signed-in and signed-out assertions failed because the entries were present.
  • Green on this branch: yes, both assertions pass.

Validation

  • pnpm --filter @open-design/web exec vitest run -c vitest.config.ts tests/components/EntryNavRail.message-center-entry.test.tsx --maxWorkers=1 (2/2)
  • pnpm exec vitest run -c vitest.config.ts tests/components/EntryNavRail*.test.ts* tests/components/MessageCenter.test.tsx --maxWorkers=2 from apps/web (15 files, 90/90)
  • pnpm --filter @open-design/web typecheck
  • pnpm --filter @open-design/web build
  • pnpm guard
  • pnpm typecheck
  • git diff --check origin/feat/workspace-team...HEAD

@lefarcen
lefarcen requested a review from PerishCode August 2, 2026 20:43
@lefarcen lefarcen added size/M PR changes 100-300 lines risk/medium Medium risk: regular code changes type/bugfix Bug fix labels Aug 2, 2026

@PerishCode PerishCode left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lefarcen This cleanly removes both web-shell message-center entry points and the associated polling/unread-indicator state while preserving the standalone implementation and notification settings for future work. I verified all four changed ranges, including the signed-in and signed-out regression coverage and the updater test’s semantic replacement assertion. The focused local run could not start because this prepared reviewer worktree has no installed Vitest binary, but the implementation and reported validation are consistent. Nice focused cleanup—thank you for keeping the underlying capability intact while aligning the visible shell with the product decision.

🔁 Powered by Looper · runner=reviewer · agent=codex · An autonomous AI dev team for your GitHub repos.

@github-actions

github-actions Bot commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Visual regression review

Head: fcc8fed · Base: 4a4dfad

Baseline unavailable; PR screenshots are new visual cases and need baseline review.

0 changed · 0 unchanged · 47 new without baseline · 0 failed

New cases without baselines

PR PR PR
visual-avatar-local-agent-list
pr
visual-avatar-local-agent-list-panel
pr
visual-avatar-menu
pr
visual-avatar-menu-panel
pr
visual-avatar-open-design-model-picker
pr
visual-critical-settings
pr
visual-critical-workspace
pr
visual-critical-workspace-preview
pr
visual-design-system-detail
pr
visual-design-systems
pr
visual-home
pr
visual-home-catalog
pr
visual-home-context-picker
pr
visual-home-context-picker-popover
pr
visual-home-plugin-filter
pr
visual-home-plugin-use-staged
pr
visual-home-plugin-use-with-query
pr
visual-home-staged-attachment
pr
visual-integrations-use-everywhere
pr
visual-new-project-modal
pr

27 additional new case(s) omitted from this comment.

Visual diff is advisory only and does not block merging.

@lefarcen

lefarcen commented Aug 3, 2026

Copy link
Copy Markdown
Contributor Author

Closing as superseded by the later product decision in e22a289 (#6162), authored by CHENGLONG WANG: the Message Center is intentionally exposed from the left rail/account menu with persistent unread polling and unread indicators. The current feat/workspace-team tip contains that commit and those entry points. Removing them would regress the newer product baseline.

@lefarcen lefarcen closed this Aug 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk/medium Medium risk: regular code changes size/M PR changes 100-300 lines type/bugfix Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants